package com.service;

import com.entity.GoldPoints;
import com.entity.User;
import com.exception.ServiceException;
import com.github.pagehelper.PageInfo;
import com.util.AjaxResult;
import com.vo.GoldPointsVo;

public interface GoldPointsService {
    public int updatePAG(int Uid, Integer points);
    AjaxResult exchangeDold(int points, int id);
    PageInfo findGoldPointByPageInNo(GoldPoints goldPoints, Integer pageNo);
    public GoldPointsVo findGoldPointsVoByUid(int uid);
    public PageInfo<GoldPoints> findUserRecord(User user, Integer pageNo);
}
